package com.ruoyi.shop.service;

import java.util.List;
import com.ruoyi.shop.domain.User;

/**
 * shopService接口
 *
 * @author ruoyi
 * @date 2025-06-09
 */
public interface IUserService
{
    /**
     * 查询shop
     *
     * @param userid shop主键
     * @return shop
     */
    public User selectUserByUserid(String userid);
    User selectUserByNumber(String usernumber);
    /**
     * 查询shop列表
     *
     * @param user shop
     * @return shop集合
     */
    public List<User> selectUserList(User user);

    /**
     * 新增shop
     *
     * @param user shop
     * @return 结果
     */
    public int insertUser(User user);

    /**
     * 修改shop
     *
     * @param user shop
     * @return 结果
     */
    public int updateUser(User user);

    /**
     * 批量删除shop
     *
     * @param userids 需要删除的shop主键集合
     * @return 结果
     */
    public int deleteUserByUserids(String[] userids);

    /**
     * 删除shop信息
     *
     * @param userid shop主键
     * @return 结果
     */
    public int deleteUserByUserid(String userid);
}
